import service from '@/utils/request'

// @Tags CustomProcessBaseUserRel
// @Summary 创建CustomProcessBaseUserRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBaseUserRel true "创建CustomProcessBaseUserRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /customProcessBaseUserRel/createCustomProcessBaseUserRel [post]
export const createCustomProcessBaseUserRel = (data) => {
     return service({
         url: "/customProcessBaseUserRel/createCustomProcessBaseUserRel",
         method: 'post',
         data
     })
 }


// @Tags CustomProcessBaseUserRel
// @Summary 删除CustomProcessBaseUserRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBaseUserRel true "删除CustomProcessBaseUserRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /customProcessBaseUserRel/deleteCustomProcessBaseUserRel [delete]
 export const deleteCustomProcessBaseUserRel = (data) => {
     return service({
         url: "/customProcessBaseUserRel/deleteCustomProcessBaseUserRel",
         method: 'delete',
         data
     })
 }

// @Tags CustomProcessBaseUserRel
// @Summary 删除CustomProcessBaseUserRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除CustomProcessBaseUserRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /customProcessBaseUserRel/deleteCustomProcessBaseUserRel [delete]
 export const deleteCustomProcessBaseUserRelByIds = (data) => {
     return service({
         url: "/customProcessBaseUserRel/deleteCustomProcessBaseUserRelByIds",
         method: 'delete',
         data
     })
 }

// @Tags CustomProcessBaseUserRel
// @Summary 更新CustomProcessBaseUserRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBaseUserRel true "更新CustomProcessBaseUserRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /customProcessBaseUserRel/updateCustomProcessBaseUserRel [put]
 export const updateCustomProcessBaseUserRel = (data) => {
     return service({
         url: "/customProcessBaseUserRel/updateCustomProcessBaseUserRel",
         method: 'put',
         data
     })
 }


// @Tags CustomProcessBaseUserRel
// @Summary 用id查询CustomProcessBaseUserRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBaseUserRel true "用id查询CustomProcessBaseUserRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /customProcessBaseUserRel/findCustomProcessBaseUserRel [get]
 export const findCustomProcessBaseUserRel = (params) => {
     return service({
         url: "/customProcessBaseUserRel/findCustomProcessBaseUserRel",
         method: 'get',
         params
     })
 }


// @Tags CustomProcessBaseUserRel
// @Summary 分页获取CustomProcessBaseUserRel列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.PageInfo true "分页获取CustomProcessBaseUserRel列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /customProcessBaseUserRel/getCustomProcessBaseUserRelList [get]
 export const getCustomProcessBaseUserRelList = (params) => {
     return service({
         url: "/customProcessBaseUserRel/getCustomProcessBaseUserRelList",
         method: 'get',
         params
     })
 }